<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:f="http://xmlns.jcp.org/jsf/core"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">
    <h:head>
        <f:facet name="first">
            <meta http-equiv="X-UA-Compatible" content="IE=edge" />
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
            <meta name="viewport" content="width=device-width, initial-scale=1.0, 
                  maximum-scale=1.0, user-scalable=0" />
            <meta name="apple-mobile-web-app-capable" content="yes" />
        </f:facet>
        <title>testtesttest</title>
    </h:head>
    <h:body>
        
        <h2>扫码查询</h2>
        <p:separator />
        <br/>
        <h:form>
            <p:inputText id="input" value="#{people.name}">
                <p:ajax event="keyup" update="output" />
            </p:inputText>
            <p>您输入的账号名为:</p>
            <p:outputLabel id="output" value="#{people.name}"></p:outputLabel>
            <br/>
            <p:commandButton id="deleteButton" value="提交" update="code"/>
            <br/>
            <p:barcode id="code" value="0123456789" type="qr"/>

        </h:form>
    </h:body>
</html>